package marchsoft.modules.four.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import marchsoft.base.BasicModel;
import marchsoft.modules.system.entity.Dept;

import java.util.Date;

@Data
@TableName("e_student")
public class Student extends BasicModel<Student> {

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

//    @ApiModelProperty(value = "关联user表id")
//    private Long userId;

    @ApiModelProperty(value = "高校id（关联user表部门id）")
    private Long universityId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "学院")
    private String college;

    @ApiModelProperty(value = "专业")
    private String major;

    @ApiModelProperty(value = "学号")
    private String studentNum;

    @ApiModelProperty(value = "准考证号")
    private String admissionNum;

    @ApiModelProperty(value = "入学年份")
    private String enrollmentYear;

    @ApiModelProperty(value = "性别")
    private boolean sex;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "身份")
    private Integer identity;

    @ApiModelProperty(value = "默认图像")
    private String avatarPath;


}
